learning from actual actions and their consequences